export const baseUrl = "http://localhost:8081/";//本地地址
export const webSocketUrl = "ws://127.0.0.1:8080/";//websocket地址

export const formatEnum = (arr,targetValue) => {
    return arr.find(item => item.value === targetValue).label
}